import React, { Component } from 'react'

export default class Image extends Component {
  render() {
    console.log(this.props);
    return (
      <img 
        width="500" 
        src={`https://source.unsplash.com/500x400?${this.props.keyword}`} 
        alt="" />
    )
  }
}
